package com.shtel.customerInfo.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

@Table(name = "account")//营业员登录信息
@Data
public class Account {

    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    private int id;

    @Column(name = "username",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String username;

    @Column(name = "password",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String password;

    @Column(name = "name",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String name;

    @Column(name = "sex",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String sex;

    @Column(name = "phone",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String phone;
}
